home *** CD-ROM | disk | FTP | other *** search
- AP2 - The easy way to test multimedia device drivers!
- ----------------------------------------------------------------
- AP2 is the abbreviation for Automatic P2string. It was developed to
- simplify the testing of OS/2 MMPM/2 device drivers. AP2 ships with 589
- test scripts that stress your audio and video device drivers. AP2 is a PM
- front end to P2string that will test the capabilities of your MMPM/2
- device driver and automatically test only the functions that your device
- driver supports. AP2 uses the MCI CAPABILITY command to determine the
- actual functions your device driver supports. It uses this information to
- build a test suite to stress the functions your device driver supports.
- The names of the scripts and a brief description of each script is
- listed in a PM window. The test person then has the ability to select any
- combination of scripts they wish to execute and to press the "START TEST"
- button. Each script in the PM (Presentation Manager) window will then be
- updated with the results of the script - RUNNING, SUCCESS or FAILURE. The
- VIEW OUTPUT button can be pressed to view the specific information on
- script status that is in the output file. Press STOP to cancel testing or
- EXIT to end AP2.
-
- You can also press F1 or HELP button anytime to get information about
- specific topics.
-
- WHAT DOES IT TEST?
- ==================
- AP2 tests include:
-
- * AMPMIX:
- - Volume
- - Balance
- - Gain
- - Pitch
- - Treble
- - Bass
-
- * WAVE AUDIO:
- - Connector
- - Cue
- - Load
- - Pause
- - Play
- - Record
- - Save
- - Resume
- - Set
- - Status
- - Stop
-
- All formats, channels, bits per sample and sample per second
- are tested in the wave audio scripts.
-
- * MIDI:
- - Close
- - Play
- - Load
- - Save
- - Set
- - Stop
-
- * CD AUDIO:
- - Play
- - Eject
- - Lock the eject button
- - Set Volume
-
- * CDXA:
- - Play
- - Eject
- - Lock the eject button
- - Set Volume
-
- * VIDEO:
- - Play
- - Record
- - Save
- - Load
- - Speed
- - Volume
-
- * SOUND QUALITY:
- These are interactive tests which require the user's
- response. These files contain an "I" in their file names.
- - Sound quality of all sounds shipped with MMPM/2.
- - Sound quality of all wave files in different formats.
- - Sound quality of recording.
-
- HOW TO INSTALL AP2:
- ===================
- * Using the INSTALL.EXE program found in the AP2 directory
- (Usually found on a CD ROM)
- * Select which directory to install AP2. The drive must have
- at least 4 Megabytes free to load and run AP2.
-
-
- *NOTE: If the test system has a CD-ROM installed, place an Audio CD
- into the CD ROM drive before starting AP2. Be sure the CD ROM
- is connected to the Audio Adapter and there is a Microphone and
- speakers attached to the system. Some Audio Adapters may use a
- MONO or a STEREO Microphone, test both types of microphones on
- the adapter.
-
- HOW TO USE AP2:
- ==============
- RUNNING:
- - Double click on the AP2 ICON
- OR
- - Type AP2 at command line with or without one or more of the
- following switches:
-
- /ALL : select ALL tests.
- /AMPMIX : select AMPMIX tests.
- /CD : select CDDA tests.
- /CDXA : select CDXA tests.
- /MIDI : select MIDI tests.
- /WAVE : select WAVE tests.
- /VIDEO : select VIDEO tests.
-
- /BATCH : this switch is used with one or more SELECT switches
- above to automatically run those selected tests. It
- ignores all interactive tests in the selected section,
- and puts all failures in a file (AP2.OUT is the
- default file name.) Also, all of the errors in
- the execution will be logged to the output file. When
- testing is complete, AP2 will terminate. Capability
- testing will be performed unless the /NOTEST switch is
- specified.
-
- /TEST : device driver's capability testing on startup.
- /NOTEST : NO device driver's capability testing on startup.
-
- /DATAPATH=pathname : specify the path of data files. To set the
- data path to "C:\DATA" use the following switch:
- /DATAPATH=C:\DATA
-
- /OOUTFILE : specify output filename which keeps all failures. To
- set the Output file to "MYTEST.OUT" use the following
- switch: /OMYTEST.OUT
-
- TESTING:
- - You can select one or more test cases by highlighting them one by
- one, or select ALL button to run all test cases.
- - Press START TEST button to start running the test cases you
- selected. As each test case terminates, the result of the test is
- displayed in the list box (SUCCESS or FAILURE) and the output file
- is in filename with an extension of ".OUT". The ".OUT" file can
- help you determine what cause the failure of a specific test case.
- - The STOP button allows interruption of testing.
-
- DEVICE CAPABILITIES:
- - AP2 starts by testing the audio device driver's capabilities if
- the option was checked or by using switch /TEST. According to the
- outcome of the device capability testing, only the supported test
- cases will be displayed. The file CAPABLTY.TXT lists the outcome
- of the device capability testing.
- You can skip this test by unchecking the appropriate check box in
- lower left corner in the main window and restarting AP2, or by
- using the /NOTEST switch. In that case, all test cases will be
- listed regardless of whether the device supports their functions
- or not.
-
- TEST CASE OUTPUT:
- - The P2String output files have the same name as the test cases,
- but have the extension ".OUT". They are located in the current
- directory. Subsequent execution of the same test case will
- overwrite the old ".OUT" file. You may want to look at the ".OUT"
- file to determine what causes the failure of a specific test case.
- You can delete unnecessary output files at any time.
- - RECORD test cases will save files in a file called "DELETE.WAV".
- This file will be overwritten by subsequent RECORD test cases, and
- can be deleted at any time.
- NOTE: Test cases that contains ERROR's are not necessarily failing.
- Test cases with the text "FAILED" are not working correctly.
-
- HELPFUL HINTS
- - CDXA testing requires the X*.P2S scripts to be modified to
- specify a valid path name.
- - The CD streaming capability is unpredictable if a CD is not
- installed at the time the device capabilities are checked.
-
-